﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="LoginLog.aspx.cs" Inherits="LotteryVote.LoginLog" %>

<asp:Content ID="Header" ContentPlaceHolderID="head" runat="server">
    <link href="Style/TableBaseStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="main" runat="server">
    <asp:Repeater ID="rpt_loginLog" runat="server">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" style="margin-top:10px">
                <thead>
                    <tr>
                        <td>
                            <%=TargetUser.UserName %>
                        </td>
                        <td colspan="2">
                            <%=TargetUser.UserInfo.Name %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <%=GetGlobalResourceObject("Resource","No") %>
                        </td>
                        <td>
                            <%=GetGlobalResourceObject("Resource","Time") %>
                        </td>
                        <td>
                            <%=GetGlobalResourceObject("Resource", "IPAddress")%>
                        </td>
                    </tr>
                </thead>
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <%#Container.ItemIndex+1 %>
                </td>
                <td>
                    <%#Eval("LastLoginTime") %>
                </td>
                <td>
                    <%#Eval("IP") %>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody> </table></FooterTemplate>
    </asp:Repeater>
</asp:Content>
